package com.whstudio.util.net;

import java.io.ObjectOutputStream;

public class Sender {
	public static void sendMsg(ObjectOutputStream output,String sFlag,String msg){
		try{
			if(output!=null){
				output.writeObject(sFlag);
				output.flush();
				output.writeObject(msg);
				output.flush();
			}
		}catch(Exception e){
			e.printStackTrace();
		}
	}
}
